package com.core.common;

import lombok.extern.slf4j.Slf4j;

import java.io.Closeable;

@Slf4j
public class IoUtils {
	public static void close(Closeable... closeables) {
		for (Closeable closeable : closeables) {
			if (null != closeable) {
				try {
					closeable.close();
				} catch (Exception var2) {
				}
			}
		}
	}

	public static void close(AutoCloseable... closeables) {
		for (AutoCloseable closeable : closeables) {
			if (null != closeable) {
				try {
					closeable.close();
				} catch (Exception var2) {
					;
				}
			}
		}
	}

}
